package main

import "fmt"

func main() {
	mf := map[int]func() int{
		1: func() int {
			return 1
		},
		2: func() int {
			return 2
		},
		3: func() int {
			return 3
		},
	}

	for k, v := range mf {
		fmt.Printf("key : %d  value: %d \n", k, v())
	}

	fmt.Println(mf)
}
